package com.xijia.wuyouwallet.bean;



/**
 * Created by Administrator on 2017/7/14 0014.
 */

public class UserData {


    /**
     * code : 200
     * msg : 数据获取成功！
     * data : {"nick_name":"吕文涛","avata":"http://xijia.oss-cn-shanghai.aliyuncs.com/images/appavatar/tx.png","phone":"15165011853","certification_state":"1","left_money":"299.90","commissions":"300.00","profit":"0.00","parent_id":"100000007","parent_tel":"15253394752","role":"供应商","role_id":"2","user_no":"170720000100000008","account_info":{"weipay":{"state":1,"account":"oYaqQv5Y8awC8GKNeZiCOOdt1hAM","info":"weipay"},"alipay":{"state":1,"account":"15165011853","info":"吕文涛"}},"token":"7646926521202975","user_id":"100000008"}
     */

    private int code;
    private String msg;
    /**
     * nick_name : 吕文涛
     * avata : http://xijia.oss-cn-shanghai.aliyuncs.com/images/appavatar/tx.png
     * phone : 15165011853
     * certification_state : 1
     * left_money : 299.90
     * commissions : 300.00
     * profit : 0.00
     * parent_id : 100000007
     * parent_tel : 15253394752
     * role : 供应商
     * role_id : 2
     * user_no : 170720000100000008
     * account_info : {"weipay":{"state":1,"account":"oYaqQv5Y8awC8GKNeZiCOOdt1hAM","info":"weipay"},"alipay":{"state":1,"account":"15165011853","info":"吕文涛"}}
     * token : 7646926521202975
     * user_id : 100000008
     */
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private String nick_name;
        private String avata;
        private String phone;
        private String certification_state;
        private String left_money;
        private String commissions;
        private String profit;
        private String parent_id;
        private String parent_tel;
        private String role;
        private String role_id;
        private String user_no;
        /**
         * weipay : {"state":1,"account":"oYaqQv5Y8awC8GKNeZiCOOdt1hAM","info":"weipay"}
         * alipay : {"state":1,"account":"15165011853","info":"吕文涛"}
         */

        private AccountInfoBean account_info;
        private String token;
        private String user_id;

        public String getNick_name() {
            return nick_name;
        }

        public void setNick_name(String nick_name) {
            this.nick_name = nick_name;
        }

        public String getAvata() {
            return avata;
        }

        public void setAvata(String avata) {
            this.avata = avata;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getCertification_state() {
            return certification_state;
        }

        public void setCertification_state(String certification_state) {
            this.certification_state = certification_state;
        }

        public String getLeft_money() {
            return left_money;
        }

        public void setLeft_money(String left_money) {
            this.left_money = left_money;
        }

        public String getCommissions() {
            return commissions;
        }

        public void setCommissions(String commissions) {
            this.commissions = commissions;
        }

        public String getProfit() {
            return profit;
        }

        public void setProfit(String profit) {
            this.profit = profit;
        }

        public String getParent_id() {
            return parent_id;
        }

        public void setParent_id(String parent_id) {
            this.parent_id = parent_id;
        }

        public String getParent_tel() {
            return parent_tel;
        }

        public void setParent_tel(String parent_tel) {
            this.parent_tel = parent_tel;
        }

        public String getRole() {
            return role;
        }

        public void setRole(String role) {
            this.role = role;
        }

        public String getRole_id() {
            return role_id;
        }

        public void setRole_id(String role_id) {
            this.role_id = role_id;
        }

        public String getUser_no() {
            return user_no;
        }

        public void setUser_no(String user_no) {
            this.user_no = user_no;
        }

        public AccountInfoBean getAccount_info() {
            return account_info;
        }

        public void setAccount_info(AccountInfoBean account_info) {
            this.account_info = account_info;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public static class AccountInfoBean {
            /**
             * state : 1
             * account : oYaqQv5Y8awC8GKNeZiCOOdt1hAM
             * info : weipay
             */

            private WeipayBean weipay;
            /**
             * state : 1
             * account : 15165011853
             * info : 吕文涛
             */

            private AlipayBean alipay;

            public WeipayBean getWeipay() {
                return weipay;
            }

            public void setWeipay(WeipayBean weipay) {
                this.weipay = weipay;
            }

            public AlipayBean getAlipay() {
                return alipay;
            }

            public void setAlipay(AlipayBean alipay) {
                this.alipay = alipay;
            }

            public static class WeipayBean {
                private int state;
                private String account;
                private String info;

                public int getState() {
                    return state;
                }

                public void setState(int state) {
                    this.state = state;
                }

                public String getAccount() {
                    return account;
                }

                public void setAccount(String account) {
                    this.account = account;
                }

                public String getInfo() {
                    return info;
                }

                public void setInfo(String info) {
                    this.info = info;
                }
            }

            public static class AlipayBean {
                private int state;
                private String account;
                private String info;

                public int getState() {
                    return state;
                }

                public void setState(int state) {
                    this.state = state;
                }

                public String getAccount() {
                    return account;
                }

                public void setAccount(String account) {
                    this.account = account;
                }

                public String getInfo() {
                    return info;
                }

                public void setInfo(String info) {
                    this.info = info;
                }
            }
        }
    }
}
